using System;
using StreamingClient.Player;

namespace StreamingClient.StreamManagment
{
    public interface IServerAccess
    {
        void StartStreaming(string source);
        void StopStreaming();
        void Seek(double pos);
        void UpdatePos(Action<double> callback);

        event EventHandler<StreamingEventArgs> StreamingStarted;
        event EventHandler<ErrorEventArgs> CommunicationFailed;

    }
}